<?php

namespace app\index\controller;

class Index extends base
{
    public function index()
    {
        //友情链接
        $link = model('link')->limit(16)->select();
        //案例
        $ucase = model('ucase')->limit(8)->select();
        $this->assign([
            'link' => $link,
            'ucase' => $ucase,
        ]);
        return $this->fetch($this->template.'index.html');

    }
}